import {config,request} from "utils";
function getList() {
  return request({url:config.api.getContainerList,method:'GET'});
}
function remove(data) {
  return request({url:config.api.containerRemove,method: 'DELETE',data:data});
}

function stop(data) {
  return request({url:config.api.containerStop,method: 'PUT',data:data});
}
function start(data) {
  return request({url:config.api.containerStart,method: 'PUT',data:data});
}
function reStart(data) {
  return request({url:config.api.containerReStart,method: 'PUT',data:data});
}
function create(data) {
  return request({url:config.api.containerCreate,method: 'POST',data:data});
}
export {getList,remove,reStart,stop,start,create};
